package com.zlf.demo.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 货物管理信息表
 * </p>
 *
 * @author zhanglongfei
 * @since 2021-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("my_goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据库Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 货物名称
     */
    private String name;

    /**
     * 货物类型
     */
    private String type;

    /**
     * 货物尺寸
     */
    private String size;

    /**
     * 货物价值
     */
    private Double price;


}
